<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class EacooCountry extends Model
{
    //
    protected $table = 'eacoo_country';

    // 镇关联
    public function down(){
        return $this -> hasOne(EacooTown::class,'code','country_code');
    }
}
